<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">渠道名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">联系人:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact_user" data-rule="" class="form-control" name="row[contact_user]" type="text" >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">手机号:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phone" data-rule="" class="form-control" name="row[phone]" type="text" >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">渠道对接参数(clientId):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-clientId" data-rule="" class="form-control" name="row[clientId]" type="text" >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">渠道对接参数(clientSecret):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-clientSecret" data-rule="" class="form-control" name="row[clientSecret]" type="text" >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">订单状态变更接口(notifyUrl):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-notifyUrl" data-rule="" class="form-control" name="row[notifyUrl]" type="text" >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">订单扣款接口(deductUrl):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deductUrl" data-rule="" class="form-control" name="row[deductUrl]" type="text" >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">cps查询接口(cpsQueryUrl):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cpsQueryUrl" data-rule="" class="form-control" name="row[cpsQueryUrl]" type="text" >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
